package com.px.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 * 排放源_字典数据 数据表对象 dis_dict_data
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("dis_dict_data")
// @ApiModel("排放源_字典数据 实体对象")
public class DisDictData implements Serializable {

    private static final long serialVersionUID = 1L;


    /** ID */
    @ApiModelProperty("ID")
    @TableId(value = "id")
    private Long id;

    /** 字典类型key */
    @ApiModelProperty("字典类型key")
    @NotBlank(message = "字典类型key不能为空")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String dictType;

    /** 字典标签 */
    @ApiModelProperty("字典标签")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String dictTitle;

    /** 字典键值 （基础表） */
    @ApiModelProperty("字典键值 （基础表）")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String dictValue;

    /** 字典键值2（综合表） */
    @ApiModelProperty("字典键值2（综合表）")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String dictValue2;

    /** 比率（综合表比基础表） */
    @ApiModelProperty("比率（综合表比基础表）")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer dictRate;

    /** 排序 */
    @ApiModelProperty("排序")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer orderNum;

    /** 备注 */
    @ApiModelProperty("备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    /** 逻辑删除（0.未删除 1.已删除） */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;

}
